package cn.stylefeng.guns.modular.utils;

import javax.mail.Authenticator;
import javax.mail.PasswordAuthentication;

/**
 * 封装发件人账号密码
 * 发件人账号密码
 * @author linsongwei
 *
 */
public class MailAuthenticator extends   Authenticator{

    public static String USERNAME = "welson_lin@163.com";//邮箱账号
    public static String PASSWORD = "1314lSwlya";//邮箱密码

    public MailAuthenticator() {
    }

    protected PasswordAuthentication getPasswordAuthentication() {
        return new PasswordAuthentication(USERNAME, PASSWORD);
    }

}
